<!DOCTYPE html>

<style>
.unstyled span { color: orange; }

.shadow p { text-shadow: 2px 2px 1px red; }
.shadow p {  text-decoration: underline line-through; }
.shadow span x{ color: transparent; rgba(0,0,180,0.5); background: red; xrgba(0,0,180,0.5);}
.shadow ::-moz-selection { color: white; background: rgba(0,0,255,0.5); }
.shadow xspan::-moz-selection { color: rgba(0,0,255,0.5); background: rgba(255,255,0,0.5);}

.cascade p::-moz-selection { color: yellow; background: green; }
.cascade p::selection { color: yellow; background: green; }

.inherit p::-moz-selection { color: yellow; background: green; }
.inherit p::selection { color: yellow; background: green; }
.inherit em::-moz-selection { color: inherit; background: inherit; }
.inherit em::selection { color: inherit; background: inherit; }

.initial ::-moz-selection { background: green; }
.initial ::selection { background: green; }
.initial span { color: orange; }

.override ::-moz-selection { display: inline; }
.override ::selection { display: inline; }


.override2 ::-moz-selection { display: block; }
.override2 ::selection { display: block; }
</style>

<div class="unstyled">
<p>This is <span>some</span> text</p>
</div>

<div class="shadow">
<p>This is <span>some</span> text</p>
</div>

<div class="cascade">
<p>This is <span>some</span> <em>text</em></p>
</div>

<div class="inherit">
<p>This is <span>some</span> <em>text</em></p>
</div>

<div class="initial">
<p>This is <span>some</span> <em>text</em></p>
</div>

<div class="override">
<p>This is <span>some</span> <em>text</em></p>
</div>


<div class="override2">
<p>This is <span>some</span> <em>text</em></p>
</div>
